﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="../common/taglibs.jsp"%>
<!-- 
    Copyright (C)  2011  chen wei hua.
    Permission is granted to copy, distribute and/or modify this document
    under the terms of the GNU Free Documentation License, Version 2.0
    or any later version published by the Free Software Foundation;
    with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
    A copy of the license is included in the section entitled "GNU Free Documentation License".
 -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>出货单详细</TITLE>
<%@ include file="../common/config.jsp"%>
<script type="text/javascript" language="javascript">

</script>
</HEAD>
<BODY>
<s:if test="order.status<7">
   <%@ include file="orderInfoTitle.jsp"%>
</s:if>
   <div class="tab">
	<div id="tb_" class="tb_">
	  <ul>
		<li id="tb_1" class="normaltab" onClick=javascript:window.location.href='showOrderBaseInfo.action?orderId=<s:property value="orderId"/>'>出货单信息</li>
		<s:if test="order.status>4 && order.status!=7">
		  <li id="tb_2" class="normaltab" onClick=javascript:window.location.href='showOrderCheckResult.action?orderId=<s:property value="orderId"/>'>检验信息</li>
		</s:if>
	    <s:if test="order.status==20">
		<li id="tb_3" class="normaltab" onClick=javascript:window.location.href='deliveryOrderInfo.action?orderId=<s:property value="orderId" />'>发货信息</li>
		</s:if>
		<li id="tb_4" class="hovertab" onClick="" >异常信息</li>
	  </ul>
    </div>
	<div class="dis" id="tbc_01">
	 <div class="main_1">
       <table width="99%" cellpadding="0" cellspacing="1" border="0" class="ksglxx2a">
        <tr class="ksglxx2bg">
          <th width="10%">日期</th>
          <th width="10%">部门</th>
          <th >原因</th>
		</tr>
		<s:iterator value="reasonList" id="reason" status="st">
          <s:if test="#st.Odd">
            <tr class="odd">
              <td><s:date name="#reason.createDate" format="yyyy-MM-dd"/></td>
              <td><s:property value="#reason.categoryString" /></td>
              <td><s:property value="#reason.description" /></td>
            </tr>
          </s:if>
          <s:else>
            <tr class="even">
              <td><s:date name="#reason.createDate" format="yyyy-MM-dd"/></td>
              <td><s:property value="#reason.categoryString" /></td>
              <td><s:property value="#reason.description" /></td>
            </tr>
           </s:else>
		</s:iterator>
       </table>
     </div>
    </div>
   </div>
</BODY></HTML>
